/*! \file BaseApp.h
 *	\brief <write description for BaseApp.h>
 *
 *	created:	2009/11/10
 *	created:	10:11:2009   16:51
 *	filename: 	c:\src\main\libs\app\BaseApp.h
 *	file path:	c:\src\main\libs\app
 *	file base:	BaseApp
 *	file ext:	h
 *	author:		Vitalii Trubchaninov
 *				venngraydog@gmail.com
 */

#ifndef _APP_BASEAPP_H_
#define _APP_BASEAPP_H_

#pragma once

#include <core/defs.h>

namespace tt{
namespace app{

class BaseApp
{
protected:
	BaseApp(void);
	virtual ~BaseApp(void);

public:
	void run();

protected:
	virtual void onCreate() = 0;
	virtual void onRun() = 0;
	virtual void onDestroy() = 0;
};

} //namespace app
} //namespace tt

#endif //_APP_BASEAPP_H_
